Television receiving apparatus

ABSTRACT

A microcomputer  50  discriminates a CATV channel plan mode only if there is a continuous channel among the channels that have been judged that station is present as a result of determination in the case where the count number for a TV channel plan is smaller than the count number for a CATV channel plan. However, in the case where there is no continuous channel among the channels that have been judged that station is present, the microcomputer  50  also discriminates a CATV channel plan mode if there is a continuous channel among the channels of the error data as a result of determination. That is, even when a station adjacent to the normal broadcasting channel is falsely tuned owing to spurious reception, the continuity of the CATV channel can be judged normally.

BACKGROUND OF THE INVENTION

The present invention relates to a television receiving apparatus capable of receiving a television broadcasting signal in correspondence to two different kinds of channel plans, and more particularly to a television receiving apparatus having an automatic discrimination auto-search function for two kinds of channel plans.

Conventionally, a television receiving apparatus has been provided which is capable of receiving selectively either the TV (television wave) broadcasting or the CATV (cable television) broadcasting. This television receiving apparatus may have an automatic discrimination auto-search function for automatically discriminating whether the receivable channel plan is for TV broadcasting or for CATV broadcasting (e.g., see JP-A-11-4388).

As disclosed in this publication, noticing that the CATV broadcasting has the channels assigned in a specific frequency band (e.g., 300 MHz to 400 MHz) in which none of the TV broadcasting channels are assigned, a CATV mode is discriminated if any broadcasting station exists in the specific frequency band, or a TV mode is discriminated if no broadcasting station exists in the specific frequency band. And in accordance with a result of discrimination, the channel preset is executed, and the channel tuning control is performed, based on the content of the channel preset.

In this way, the conventional television receiving apparatus discriminates a CATV mode or a TV mode in such a manner that the CATV mode is discriminated if a station exists in a specific frequency band in which the TV broadcasting channel is not assigned.

However, with such a conventional discrimination method, since a station may be discriminated to be present due to the influence of the noise, in spite of the station being absent, there is the possibility that a false discrimination may occur by falsely discriminating the CATV mode in spite of the TV mode in essence. Therefore, to reduce such false discrimination as least as possible, the CATV mode may be discriminated in the case where two or more stations exist in a specific frequency band, but in anyway, it is impossible to eliminate the influence of the noise completely.

SUMMARY OF THE INVENTION

This device has been created to solve the above-mentioned problems, and its objective is to provide a television receiving apparatus having improved discrimination accuracy in an automatic discrimination auto-search mode.

In order to solve the above-mentioned problems, a television receiving apparatus of this device capable of receiving signals of a desired frequency in correspondence to a first channel plan having predetermined channel frequencies assigned, and a second channel plan containing the channel frequencies assigned to said first channel plan and having other channel frequencies assigned in the frequency bands not assigned to said first channel plan, comprising

-   -   station presence judging means for judging whether a         broadcasting station is present or not at a channel frequency         assigned to each channel plan by searching all or part of the         frequency bands contained in said first channel plan or said         second channel plan,     -   first channel number counting means for judging whether or not         the channel frequency of a broadcasting station is within a         fixed frequency range from a center frequency, if said station         presence judging means judges the presence of said broadcasting         station, and counting up the number of station present channels         in the channel plan to which said broadcasting station belongs,         if the channel frequency of the broadcasting station is within         the fixed frequency range from the center frequency, for all the         broadcasting stations which are judged to be present,     -   second channel number counting means for storing the error data         off a center frequency in a memory, if it is determined by said         first channel number counting means that the channel frequency         of a station is outside a fixed frequency range from the center         frequency, for all the stations that are judged to be present,         and making a comparison between the error data and the error         data to determine whether or not a difference between the error         data and the error data is within the fixed frequency range,         classifies the error data in accordance with the difference         between the error data and the error data, and further adds and         counts up the number of error data contained within the largest         group to the station present channel number of said second         channel plan,     -   comparison means for comparing the counted channel number for         said first channel plan counted by said first channel number         counting means and the counted channel number for said second         channel plan counted by said second channel number counting         means,     -   first discriminating means for discriminating whether or not         there is a continuous channel among the channels which are         judged that station is present, if the count number for said         first channel plan is smaller than the count number for said         second channel plan, as a result of comparison by said comparing         means,     -   second discriminating means for discriminating whether or not         there is a continuous channel among the channels of the error         data counted by said second channel number counting means, if it         is determined that there is no continuous channel, as a result         of discrimination by said first discriminating means; and     -   channel plan discriminating means for discriminating whether         said television receiving apparatus is a first channel plan mode         or a second channel plan mode, based on a result of comparison         by said comparison means, a result of discrimination by said         first discriminating means, and a result of discrimination by         said second discriminating means.

In the present device having the above feature, since the number of station present channels contained in each channel plan is counted during the automatic discrimination auto-search for the channel plan, and ultimately the channel plan is discriminated depending on whether the total number of channels for the first channel plan is greater than or equal to the total number of channels for the second channel plan or not, whereby it is possible to eliminate the influence of the noise and discriminate the channel mode at high accuracy.

In this device having the above feature, said second channel number counting means stores the error data off a center frequency along with its channel number in a memory, if it is determined that the channel frequency of a station that is judged to be present is outside a fixed frequency range from the center frequency, for all the stations which are judged that station is present in the second channel plan. And if the error data has been stored for each of all the stations, the error data first stored in said memory is set as the reference error data, the error data stored subsequently is set as the comparative error data, and the comparative error data is compared in succession with the reference error data in such a way that if the comparative error data is within the fixed frequency range from the reference error data, the comparative error data is judged to be contained within the same group as the reference error data, and the coincidence number is counted up as being contained within the same group as the reference error data, or if the comparative error data is outside the fixed frequency range from the reference error data, a check is made whether or not the next reference error data has been already registered, and the comparative error data is registered as the next reference error data, when the next reference error data has not been registered, until the comparison for all the error data is completed, in which the coincidence number is counted up for one group, and then the next reference error data registered ahead and the error data stored subsequently as the comparative error data are compared in the same way as previously, the coincident number is counted up for another one group until there is no next reference error data registered, and wherein the coincident number for the largest group among the thus obtained groups is added and counted up to the number of station present channels for said second channel plan. That is, in this device, in the case where there is a station that is not counted to be present at that time because the frequency of the station is outside the fixed frequency range from the center frequency, although the station has been judged to be present, a process (error data check process) of determining whether or not the station should be counted as the station in the second channel plan is additionally provided. Thereby, even when the frequency of the station is off the normal frequency in the second channel plan, the station can be counted as the broadcasting station contained in the second channel plan by performing the error data check process. As a result, a discrimination between the TV mode and the CATV mode can be effected more correctly.

This error data check process will be discussed below in more detail. The second channel number counting means performs a process of storing the error data off the center frequency along with its channel number in a memory when it is determined that the channel frequency of the station that is judged to be present is outside the fixed frequency range from the center frequency, for all the stations for the second channel plan which are judged to be present. And the error data first stored in the memory is set as the reference error data, the error data subsequently stored in the memory is set as the comparative error data, and the comparative error data is compared in succession with the reference error data. When the comparative error data is within the fixed frequency range with respect to the reference error data, the comparative error data is determined to be contained within the same group as the reference error data, and the coincidence number is counted up. On the other hand, when the comparative error data is outside the fixed frequency range with respect to the reference error data, it is checked whether or not the next reference error data has been already registered. If not registered, the comparative error data is registered as the next reference error data. Once the next reference error data is registered, the next reference error data is not registered until the current reference error data has been compared with all the comparative error data (i.e., the counting up for one group has been completed). The channel number counting means performs the above process until the comparison between the reference error data first stored in the memory and the comparative error data subsequently stored in the memory has been completed, and the coincidence number for one group is counted up.

Thereafter, the next reference error data registered before and the first error data stored as the comparative error data are compared in the same way as described above, and the coincidence number for another one group is counted up, until the next reference error data is not registered anymore. Thereby, ultimately, there are produced the groups by the number that the next reference error data has been registered. The coincidence number for the largest group among the acquired groups is further added and counted up to the number of station present channels in the second channel plan. Herein, every time the next group is acquired for one group, the comparison is made between both groups, and the group having a greater number of station preset channels is only left behind. In this way, at the time when the error data check process has been ended, only the group having the greatest coincidence number is left behind.

The fixed frequency range as above may be desirably about ±200 kHz, because the error data has relatively common discrepancy. Specifically, one step is set to 27.965 kHz, and the frequency may be changed in a range of ±8 steps (i.e., ±223.72 kHz) to effect grouping of the error data.

Also, in a television receiving apparatus of this device, with the above configuration, in the case where the count number for said first channel plan is greater than or equal to the count number for said second channel plan as a result of comparison by said comparing means, said channel plan discriminating means discriminates a first channel plan mode, or in the case where the count number for said first channel plan is smaller than the count number for said second channel plan, said channel plan discriminating means discriminates a second channel plan mode if there is a continuous channel among the channels of the error data counted by said second channel number counting means as a result of discrimination by said first discriminating means, or if there is no continuous channel as a result of discrimination by said first discriminating means, and if there is a continuous channel as a result of discrimination by said second discriminating means, or said channel plan discriminating means discriminates a first channel plan mode if there is no continuous mode at all.

With this device having the above feature, since there is necessarily a continuous station in a CATV channel plan that is the second channel plan, when the CATV channel plan mode is discriminated based on the comparison between the count number for the first channel plan and the count number for the second channel plan, this continuity is further discriminated by the first discriminating means, whereby a discrimination between the TV mode and the CATV mode can be effected more correctly. Even when it is determined by the first discriminating means that the continuity exists, the continuity of channel for the error data is checked by the second discriminating means, because a station adjacent to the normal broadcasting channel may be falsely tuned owing to spurious reception, whereby a discrimination between the TV mode and the CATV mode can be effected more correctly. That is, in the case of the spurious reception, the tuning point does not become a normal channel, and the difference between the error data and the error data does not fall within a range of ±200 kHz, when the error data are compared, whereby it is not determined that there is continuity. In other words, the discrimination of the continuity can be normally effected.

In the television receiving apparatus of this device, the first channel plan is ground wave broadcasting, and the second channel plan is cable television broadcasting. In a channel plan (TV channel plan) for ground wave broadcasting and a channel plan (CATV channel plan) for CATV broadcasting, the channel frequencies of the channel numbers “2” to “13” for TV broadcasting are the same as the channel frequencies of the channel numbers “2” to “13” for CATV broadcasting, and the channel frequencies of the channel numbers “14” to “69” for TV broadcasting are higher by 2 MHz than the channel frequencies of the channel numbers “65” to “94” and “100” to “125” for CATV broadcasting. Also, the channel frequencies of the channel numbers “14” to “64” for CATV broadcasting are in the frequency bands not assigned to the TV broadcasting. Namely, the CATV channel plan includes the channel frequencies equal or close to the channel frequencies assigned to the TV channel plan, and the channel frequencies in the frequency bands not assigned to this TV channel plan. Accordingly, using the television receiving apparatus of this device, it is possible to make correct discrimination between the channel plan (TV channel plan) for ground broadcasting and the channel plan (CATV channel plan) for CATV broadcasting.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the hardware configuration of a television receiving apparatus of this device.

FIG. 2 is an explanatory diagram showing the channel plans for TV broadcasting and CATV broadcasting in a table form.

FIG. 3 is a flowchart showing an operation procedure of an auto-search performed by an automatic discrimination auto-search program.

FIG. 4 is a flowchart showing the operation procedure of the auto-search performed by the automatic discrimination auto-search program.

FIG. 5 is a flowchart showing the operation procedure of the auto-search performed by the automatic discrimination auto-search program.

FIG. 6 is a flowchart showing the operation procedure of the auto-search performed by the automatic discrimination auto-search program.

FIG. 7 is a flowchart showing an error data check process.

FIG. 8 is a flowchart showing the error data check process.

FIG. 9 is an explanatory table illustrating an example of error data memorized in an error data storage area of RAM.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The preferred embodiments of this device will be described below with reference to the drawings.

FIG. 1 is a block diagram showing the hardware configuration of a television receiving apparatus according to an embodiment of the present device.

In the same figure, any one of a U/V antenna and a CATV (NORMAL) coaxial cable can be connected as the input source of television broadcasting signals to a picture and sound input terminal 10 a of a tuner 10. The tuner 10 receives signals of a desired frequency in correspondence to television broadcasting bands for both TV broadcasting and CATV broadcasting, as well as selectively amplifying the required signals that have been received into radio frequency signals, and converting the amplified radio frequency signals into intermediate frequency signals. In this embodiment, the tuner 10 employs a so-called PLL channel tuning control system, which controls the reception frequency by directly controlling the local oscillation frequency, based on the input of predetermined frequency data.

An intermediate frequency signal output from the tuner 10 is amplified into a picture intermediate frequency signal by a VIF circuit 20, which is then output to a video IC 30. Also, a sound intermediate frequency signal is picked up in a process of picture intermediate frequency amplification, FM detected by an audio IC 40, appropriately amplified, and supplied to a speaker 41.

On the other hand, in the video IC 30, the input picture intermediate frequency amplification signal is picture detected. Then the horizontal and vertical synchronizing signals are separated, based on the detected output, and output to respective horizontal and vertical output stages. The VIF circuit 20 generates an AFT voltage in accordance with a drift between the actual frequency of picture carrier and the reference frequency, this AFT voltage and the synchronizing signals separated in the video IC 30 being supplied to a microcomputer 50. A picture signal output from the video IC 30 is supplied to a picture tube 31 such as a CRT.

The microcomputer 50 has a program executing operation environment comprised of a CPU 51, a ROM 52, and a RAM 53, and controls the channel tuning of the tuner 10 by supplying the frequency data to the tuner 10. This channel tuning control can employ various surrounding techniques to change the channel tuning frequency of the tuner 10 in accordance with a channel tuning control signal represented in a predetermined hexadecimal format, though not detailed here. In the ROM 52, the channel plans consisting of the frequency and the corresponding channel number (CHNL IND) are stored in a table form for the TV broadcasting and the CATV broadcasting (CATV NORMAL, CATV HRC, CATV IRC), as shown in FIG. 2. Also, in the ROM 52, an automatic discrimination auto-search program to effect the automatic discrimination of two kinds of channel programs is stored, as shown in FIGS. 3 and 8.

Herein, the channel plan as shown in FIG. 2 will be described below.

In the TV channel plan and the CATV channel plan, the channel frequencies of the channel numbers “2” to “13” for TV broadcasting are the same as the channel frequencies of the channel numbers “2” to “13” for CATV broadcasting, and the channel frequencies of the channel numbers “14” to “69” for TV broadcasting are higher by 2 MHz than the channel frequencies of the channel numbers “65” to “94” and “100” to “125” for CATV broadcasting.

The CATV channel plan has three kinds of channel plans including CATV NORMAL, CATV HRC and CATV IRC. The frequencies of the channel numbers “1” to “125” for HRC are lower by 1.25 MHz than the frequencies of the corresponding channel numbers for NORMAL, respectively, except for the channel numbers “5” and “6”, and the frequencies of the channel numbers “5” and “6” are higher by 0.75 MHz than the frequencies of the channel numbers “5” and “6” for NORMAL, respectively. On the other hand, the frequencies of the channel numbers for IRC are the same as the frequencies of the corresponding channel numbers for NORMAL, respectively, except for the channel numbers “5” and “6”, and the frequencies of the channel numbers “5” and “6” are higher by 2 MHz than the frequencies of the channel numbers “5” and “6” for NORMAL, respectively.

The automatic discrimination auto-search operation of the television receiving apparatus in the TV mode and the CATV mode will be described below.

The automatic discrimination auto-search operation is effected by operating a predetermined key, not shown. By operating the predetermined key, the microcomputer 50 detects this key operation and executes an automatic discrimination auto-search program as shown in FIGS. 3 and 8 which is stored in the ROM 52. That is, in this embodiment, station presence judging means, first channel number counting means, second channel number counting means, comparing means, first discriminating means, second discriminating means, and channel plan judging means as defined in the claims are realized by the microcomputer 50. Note that the channel number “1” is abbreviated as 1ch as a matter of convenience.

Firstly, an auto-search operation procedure by this automatic discrimination auto-search program will be schematically described below, and then more specifically described in accordance with the flowcharts of FIGS. 3 and 8.

In this embodiment, the automatic discrimination auto-search selects the channels 1ch to 13ch for CATV, then selects from CATV 14ch to TV 14ch to CATV 15ch to TV 15ch . . . up to 69ch, and selects CATV 70ch to 125ch. If there is any broadcasting station during the auto-search, a determination is made whether or not the frequency after tuning falls within a predetermined frequency range (±200 kHz of the center frequency for TV, CATV, NOR/HRC/IRC). If the frequency after tuning falls within the predetermined frequency range, the count number for TV or CATV is incremented by 1 (in a TV or CATV count area in the ROM 53). However, this count number is intended to discriminate the TV mode or CATV mode, and the intrinsic channels may be also preset outside this predetermined frequency range.

In this counting process, in the case where the frequency after tuning does not fall within ±200 kHz of each center frequency for CATV NOR/HRC/IRC (drifts from the normal channel plan) during the auto-search of the channel for CATV, the error frequency data off the center frequency of the channel plan for CATV NORMAL (NOR), as well as its selected channel number, are memorized in an error data storage area (a separate area from the counting area) of the RAM 53. It is only the CATV channel plan that this error frequency data (hereinafter referred to as error data) is memorized, and the error data storage area of the RAM 53 is prepared by the size of 125ch. FIG. 9 shows an example of error data memorized in the error data storage area of the RAM 53, in which the error data is memorized at the corresponding channel number.

If the auto-search up to 125ch for CATV has been finished, a check process for the error data that has been memorized as outside the predetermined frequency range in selecting the CATV channel is started. This check process will be described later in detail.

And the count value acquired through the check process for the error data is added to the count number for CATV that has been counted before the check process for the error data, to getthefinal count number for CATV. Then the TV count number and the CATV count number are compared, and the TV mode or CATV mode is discriminated.

The auto-search operation procedure by the automatic discrimination auto-search program according to the embodiment of this device has thus been schematically described above.

Next, the auto-search operation procedure by this automatic discrimination auto-search program will be more specifically described below with reference to the flowcharts of FIGS. 3 to 8.

Prior to starting the auto-search, firstly, a TV memory CH and a CATV memory CH in the counting area of the RAM 53 are set to 0 (step S1), and the CATV 1ch is selected (step S2).

Herein, the channel tuning operation is similar to the conventional channel tuning operation based on the channel preset, but will be briefly described below. The microcomputer 50 forwards the center frequency of 1ch to the tuner 10, which then tunes in to a corresponding channel frequency (73.25 MHz). Therefore, if a television broadcasting signal exists at that channel frequency, the video IC 30 separates a synchronizing signal from the television broadcasting signal, and supplies the synchronizing signal to the microcomputer 50. The microcomputer 50 detects the synchronizing signal, and then judges whether or not an AFT change point is detectable. Herein, the voltage characteristic of AFT voltage has the shape of an inverted S character centered at a normal tuning point, though not shown in the figure. Therefore, when the AFT voltage slightly drifts from the normal tuning point, the AFT voltage shows a tendency of monotone increase or decrease in accordance with the direction of its drift. Hence, if the AFT voltage actually supplied from the video IC 30 and the voltage at the normal tuning point are compared, the direction of drift can be found. In detecting the AFT change point at this time, the AFT voltage is scanned over a range of ±2.44 MHz with reference to the center frequency of 1ch. Namely, as seen from the channel plan of FIG. 2, the TV channel plan and the CATV channel plan have the same frequency at the channels from 2ch to 13ch, and a frequency difference of 2 MHz between 14ch to 69ch for the TV channel plan and 65ch to 94ch and 100ch to 125ch for the CATV channel plan. Accordingly, when the channel tuning operation is made in the CATV channel plan, the stations for TV broadcasting can be also selected, for example.

At step S3, a determination is made whether or not 1ch of CATV has been selected by the channel tuning operation at step S2. That is, the microcomputer 50 detects a synchronizing signal, and if an AFT change point can be detected, the presence of station is determined. Herein, if the absence of station is determined, the procedure proceeds to step S8 to perform the channel tuning operation for 2ch of CATV.

On the other hand, if the presence of station is determined at step S3, the procedure proceeds to the next step S4. That is, a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for NORMAL. Herein, one step is equal to 27.965 kHz as described above, so that ±8 steps amounts to ±223.72 kHz. If the PLL data is within ±8 steps (i.e., if YES is determined at step S4), “+1” is added to the CATV memory CH in the RAM 53 (step S5).

On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S4), the procedure proceeds to step S6, where a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for HRC. If the PLL data is within ±8 steps (i.e., if YES is determined at step S6), “+1” is added to the CATV memory CH in the RAM 53 (step S5). On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S6), the error data off the center frequency for NORMAL is memorized at the corresponding channel number in the error data storage area in the RAM 53 (step S7), and the procedure proceeds to step S8, where the next channel tuning operation for 2ch of CATV is performed. In FIG. 9, the channel number 1ch contains FF (no broadcasting station, no error data).

At the next step S9, a determination is made whether or not 2ch of CATV has been selected by the channel tuning operation at step S8. That is, if the microcomputer 50 detects a synchronizing signal, and an AFT change point can be detected, the presence of station is determined. Herein, if the absence of station is determined, the procedure proceeds to step S18 to perform the next channel tuning operation for 3ch of CATV.

On the other hand, if the presence of station is determined at step S9, the procedure proceeds to the next step S10. That is, a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for NORMAL. If the PLL data is within ±8 steps (i.e., if YES is determined at step S10), “+1” is added to the TV memory CH in the RAM 53 (step S11), and “+1” is added to the CATV memory CH in the RAM 53 (step S12). Then the procedure proceeds to step S16.

At step S16, a determination is made whether or not the previous channel number in the CATV memory CH has been incremented by “+1”. If the previous channel number has been incremented by “+1”, a continuous channel flag is turned on at the next step S17 and then the procedure proceeds to step S18.

On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S10), the procedure proceeds to step S13, where a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for HRC. If the PLL data is within ±8 steps (i.e., if YES is determined at step S13), “+1” is added to the CATV memory CH in the RAM 53 (step S12). Namely, in this case, “+1” is not added to the TV memory CH, because the center frequency does not drift in the TV broadcasting. On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S13), the error data off the center frequency for NORMAL is memorized at the corresponding channel number in the error data storage area in the RAM 53 (step S14), and the procedure proceeds to step S18. In FIG. 9, the channel number 2ch contains the error data “a value”.

At step S18, the processing for 3ch and 4ch of CATV is performed in the same way as at steps S9 to S17. If the processing up to 4ch of CATV is ended, the procedure then proceeds to step S19 to perform the channel tuning operation for 5ch of CATV.

At the next step S20, a determination is made whether or not 5ch of CATV has been selected by the channel tuning operation at step S19. That is, if the microcomputer 50 detects a synchronizing signal, and an AFT change point can be detected, the presence of station is determined. Herein, if the absence of station is determined, the procedure proceeds to step S28 to perform the next channel tuning operation for 6ch of CATV.

On the other hand, if the presence of station is determined at step S20, the procedure proceeds to the next step S21. That is, a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for NORMAL. If the PLL data is within ±8 steps (i.e., if YES is determined at step S21), “+1” is added to the TV memory CH in the RAM 53 (step S22), and “+l” is added to the CATV memory CH in the RAM 53 (step S23). Then the procedure proceeds to step S26. At step S26, a determination is made whether or not the previous channel number in the CATV memory CH has been incremented by “+1”. If the previous channel number has been incremented by “+1”, a continuous channel flag is turned on at the next step S27 and then the procedure proceeds to step S28.

On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S21), the procedure proceeds to step S24, where a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for HRC. If the PLL data is within +8 steps (i.e., if YES is determined at step S24), “+1” is added to the CATV memory CH in the RAM 53 (step S23). On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S24), the procedure proceeds to step S25, where a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for IRC.

If the PLL data is within ±8 steps (i.e., if YES is determined at step S25), “+1” is added to the CATV memory CH in the RAM 53 (step S23). On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S25), the procedure proceeds to step S28. That is, in this case (search operation for 5ch), the error data off the center frequency for NORMAL is not memorized in the error data storage area in the RAM 53, and the procedure proceeds to the next step. In the channel tuning operation for 5ch, as well as the case of 6ch, the error data may necessarily have a different value from other error data, because the channel frequency for HRC and the channel frequency for IRC are different from the center frequency for NORMAL. Therefore, the error data for 5ch and 6ch are not memorized in consideration of the error data check process as performed later.

At step S28, the processing for 6ch of CATV is performed in the same way as at steps S20 to S27. If the processing up to 6ch of CATV is ended, the procedure then proceeds to step S29.

At step S29, the processing for 7ch to 13ch of CATV is performed in the same way as at steps S9 to S17. If the processing up to 13ch of CATV is ended, the procedure then proceeds to step S30 to perform the channel tuning operation for 14ch of CATV.

At the next step S31, a determination is made whether or not 14ch of CATV has been selected by the channel tuning operation at step S30. That is, if the microcomputer 50 detects a synchronizing signal, and an AFT change point can be detected, the presence of station is determined. Herein, if the absence of station is determined, the procedure proceeds to step S38 to perform the next channel tuning operation for 14ch of TV.

On the other hand, if the presence of station is determined at step S31, the procedure proceeds to the next step S32. That is, a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for NORMAL. If the PLL data is within ±8 steps (i.e., if YES is determined at step S32), “+1” is added to the CATV memory CH in the RAM 53 (step S33). Then the procedure proceeds to step S36.

At step S36, a determination is made whether or not the previous channel number in the CATV memory CH has been incremented by “+1”. If the previous channel number has been incremented by “+1”, a continuous channel flag is turned on at the next step S37 and then the procedure proceeds to step S38.

On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S32), the procedure proceeds to step S34, where a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for HRC. If the PLL data is within ±8 steps (i.e., if YES is determined at step S34), “+1” is added to the CATV memory CH in the RAM 53 (step S33). On the other hand, if the PLL data is not within ±8 steps (i.e., if NO is determined at step S34), the error data off the center frequency for NORMAL is memorized in the error data storage area in the RAM 53 (step S35). Then the procedure proceeds to step S38 to perform the channel tuning operation for 14ch of TV.

At step S39, a determination is made whether or not 14ch of TV has been selected by the channel tuning operation at step S38. That is, if the microcomputer 50 detects a synchronizing signal, and an AFT change point can be detected, the presence of station is determined. Herein, if the absence of station is determined, the procedure proceeds to step S42 to perform the next channel tuning operation for 15ch of TV.

On the other hand, if the presence of station is determined at step S39, the procedure proceeds to the next step S40. That is, a determination is made whether or not the PLL data after the end of channel tuning is within ±8 steps of the center frequency for TV. If the PLL data is within ±8 steps (i.e., if YES is determined at step S40), “+1” is added to the TV memory CH in the RAM 53 (step S41). If the PLL data is not within ±8 steps (i.e., if NO is determined at step S40), the procedure proceeds to step S42 to perform the channel tuning operation for 15ch and beyond of CATV.

At step S42, the processing for 15ch to 69ch of CATV is performed in the same way as at steps S30 to S37, and the processing for 15ch to 69ch of TV is performed in the same way as at steps S38 to S41, such that the processing for CATV and the processing for TV are alternately performed. If the processing up to 69ch of TV is ended, the procedure then proceeds to step S43 to perform the channel tuning operation for 70ch to 125ch of CATV.

At step S43, the processing for 70ch to 125ch of CATV is performed in the same way as at steps S31 to S37. If the processing up to 125ch of CATV is ended, the procedure then proceeds to step S44, where a determination is made whether or not the error data for 2ch or more have been memorized. If the error data for 2ch or more have been memorized, the procedure proceeds to step S45 to execute an error data check subroutine as shown in FIGS. 7 and 8.

In the error data check process, the error data memorized in the error data storage area of the RAM 53 is processed. Herein, an example of the error data memorized in the error data storage area of the RAM 53 is shown in FIG. 9. The initial value of the error data for the error data number (address number) 1 to 125 is set to “FF”. The error data to be memorized during the auto-search is placed at the corresponding address number in the error data storage area. In this example, the channel numbers 1ch, 2ch, 3ch, 4ch, 5ch, . . . 125ch contain FF, a value, b value, c value, FF, . . . FF, respectively.

Firstly, the error data (address number 1) memorized at the beginning in the error data storage area is set to the reference error data as well as the comparative error data. The coincidence number A is set to 1 and the coincidence number B is set to 0. Further, the address number of the next reference error data is set to 0, a continuous temporary flag is set to OFF, and an error data continuous channel flag is set to OFF (step S101). Herein, the numbers of coincidence A, B are preset in predetermined areas within the RAM 53.

If the initialization is finished as above, a determination is made whether or not the reference error data is equal to FF, namely, the reference error data is memorized (step S102). If the reference error data is not memorized, the address number is incremented by +1 (step S103). Then the reference error data at the next address number is read from the memory, the procedure returns to step S102 to determine whether or not the reference error data is equal to FF. In this example, since the a value is memorized as the error data at the channel number 2, the determination at step S102 is YES, when the channel number is equal to 2. Then the procedure proceeds to step S104.

At step S104, the channel number (here 2ch) is incremented by +1, so as to get the channel number (3ch) for the comparative error data. Then a determination is made whether or not this incremented channel number is equal to 126, namely, the comparison up to the 125 channel has been ended (step S105). Then the procedure proceeds to step S106, where the channel number of the comparative error data is equal to the channel number of the reference error data. And if they are the same (i.e., if YES is determined at step S106), the procedure returns to step S104, where the channel number is incremented by +1.

On the other hand, if NO is determined at step S106, the procedure proceeds to step S107 to determine whether or not the comparative error data of the channel number is equal to FF, namely, the error data is memorized at the channel number. If the error data is not memorized at the channel number (i.e., if YES is determined at step S107), the procedure returns to step S104 to increment the channel number by +1.

On the other hand, if NO is determined at step S107, namely, the error data is memorized at the channel number, the set reference error data (here No. 2) and the comparative error data (No. 3) at the address number 3 are compared (step S108) to make a determination whether or not the comparative error data (No. 3) is within ±8 steps from the reference error data (No. 2). Herein, one step is equal to 27.965 kHz as described above, so that ±8 steps amounts to ±223.72 kHz. If the comparative error data (No. 3) is within ±8 steps from the reference error data (No. 4) (i.e., if YES is determined at step S108), the comparative error data (No. 3) is included within the same group as the reference error data (No. 2) (i.e., with an approximately same width of drift from the center frequency). Thereby, the coincidence number A is incremented by +1 (step S112). Then, the procedure proceeds to step S113 and beyond to turn on the continuous temporary flag.

Namely, at step S113, it is determined whether the channel number of the current comparative error data subtracted by 1 is identical to a channel number of the reference error data. In this case, since the current comparative error data is channel 3 and the reference error data is channel 2, the result of determination is YES. Therefore, the procedure proceeds to step S115 and turn on the continuous temporary flag.

On the other hand, if NO is determined at step S113, the procedure proceeds to step S114, where a determination is made whether or not the comparative error data with the channel number of the current comparative error data subtracted by 1 is within ±8 steps with respect to the reference error data. This determination is identical to a result of determination made at step S108 in a process one loop ahead. It the result of determination is YES, the determination at step S114 is also YES. That is, two error data having the successive channel numbers have approximately identical drift widths off the center frequency, in which the procedure proceeds to step S115 to turn on the continuous temporary flag. On the other hand, in the case where the determination at step S114 is NO, two error data having the successive channel numbers have different (less approximate) drift widths off the center frequency, and there is the possibility that a station adjacent to the normal broadcasting station may be falsely tuned owing to spurious reception, for example. Consequently, the continuous temporary flag is not turned on, and the procedure returns to step S104.

On the other hand, at step S108, if the comparative error data (No. 3) is not within ±8 steps from the reference error data (No. 2) (i.e., if NO is determined at step S108), a determination is made at step S109 whether or not the address number of the comparative error data is larger than the address number of the reference error data. If it is confirmed that the address number of the comparative error data is larger than the address number of the reference error data (i.e., YES is judged at step S109), at step S110, a determination is made whether or not the next reference error data has been set, namely, the address number of the next reference error data is equal to zero. Herein, if the address number is equal to zero (i.e., if YES is judged at step S110), the address number of the current comparative error data is set as the next reference error data (step S111). That is, when the comparison of the current reference error data (No. 2) with the comparative error data for subsequent all channels (up to 125ch) has been completed, the next reference error data set here is defined as the new reference error data, and the processing from step S104 is performed again.

In this way, as a result of judgement at step S108, the coincidence number A is incremented by +1 and the continuous temporary flag is turned on or off (steps S112 to S115), or the next reference error data is set (steps S110 to S111) Then, the procedure returns to step S104, where the address number of the comparative error data is incremented by +1. After making a determination at step S105, a determination at step S106 and a determination at step S107, the procedure proceeds to step S108. And the comparative error data (No. 4) of the next address number 4 and the reference error data (No. 2) are compared to determine whether the comparative error data (No. 4) is within ±8 steps from the reference error data (No. 2).

In this way, by repeating the process from step S104 to step S115, the comparative error data is successively compared with the reference error data (No. 2). In the case where the comparative error data is within ±8 steps from the reference error data (No. 2), the coincidence number A is incremented by +1 every time. The comparison is made up to the last error data memorized in the error data storage area, while the continuous temporary flag is turn on or off. If the comparison has been made up to the error data memorized in the error data storage area (i.e., if the channel number of the comparative error data is judged to be 126 at step S105), the coincidence number A for the group included in the reference error data (No. 2) has been counted at this time.

Accordingly, at the next step S116, the counted coincidence number A and the preset coincidence number B are compared. As described above, since the coincidence number B at this time is equal to an initial value of zero, the counted number n1 for the coincidence number A is compared with zero. As a result, if the counted number n1 for the coincidence number A is greater than zero, the counted number n1 for this coincidence number A is memorized in the coincidence number B (step S117) Namely, the largest value (n1) of the coincidence number (counted number) at this time is memorized in the coincidence number B.

At this time, a determination is made whether or not the continuous temporary flag is set (step S118). If the continuous temporary flag is on, an error data continuous channel flag for that group is turned on (step S119). Then the procedure proceeds to step S121. On the other hand, if the continuous temporary flag is not set on, the error data continuous channel flag is unchanged (step S120). Then the procedure proceeds to step S121.

And at step S121, the coincidence number A is restored to the initial value 1, and the continuous temporary flag is turned off.

Thereafter, at step S122, a determination is made whether or not the next reference error data has been set. If the next reference error data has been set (i.e., if NO is determined at step S122), the next reference error data that has been set (e.g., error data of the address number 4) is set as the current reference error data (No. 4) (step S123), the next reference error data is set to the address number 0 again, and the comparative error data is set at the address number 0 (No. 0, the address number is incremented by 1 at step S104). Then, the procedure returns to step S104 to repeat the above process.

In this way, by repeating the process from step S104 to step S115 for the newly set reference error data (No. 4), the comparative error data is compared with the reference error data (No. 4) successively. In the case where the comparative error data is within ±8 steps from the reference error data (No. 4), the coincidence number A is incremented by +1 every time. The comparison up to the last error data memorized in the error data storage area, while the continuous temporary flag is turned on or off. If the comparison up to the last error data memorized in the error data storage area has been ended (i.e., if the channel number of the comparative error data is judged to be 126 at step S105), the coincidence number A for the group included in the reference error data (No. 4) has been counted at this time.

Therefore, at the next step S116, the counted coincidence number A and the preset coincidence number B are compared. The coincidence number B at this time contains the count number n1 that has been set previously, so that the count number n2 for the coincidence number A and the count number n1 for the coincidence number B are compared. Consequently, if the count number n1 for the coincidence number A is greater than the count number n2 for the coincidence number B, the count number n2 for the coincidence number A is overwritten and memorized on the coincidence number B (step S117). Then the continuous temporary flag is turned on or off (step S119, step S120). Then the coincidence number A is restored to an initial value of 1 and the continuous temporary flag is turned off (step S121). That is, the coincidence number B contains the largest count number at all times and the error continuous flag is memorized.

In this way, as a result of repeating the process from step S104 to step S124, if the next reference error data is not set (i.e., if the address number of the next reference error data is set to zero) at step S122, the procedure proceeds to step S125 to make a determination whether or not the count number memorized in the coincidence number B is greater than 1. At step S125, a determination is made whether or not the coincidence number B is equal to 1. If the coincidence number B is equal to 1 (i.e., if YES is determined at step S125), the error data check process is ended without incrementing the count number as the CATV station is present. On the other hand, if the count number for the coincidence number B is greater than 1 (i.e., if NO is determined at step S125), the count number for the coincidence number B is added to the count number for CATV that has been counted before the error data check process (during the auto-search) to have the ultimate count for CATV (step S126). Then the error data check process is ended.

Thus, if the error data check process is ended, the procedure returns to a main routine of FIG. 6, and proceeds to step S46.

That is, at step S46, a comparison is made between the TV count number after the end of auto-search from 1ch to 125ch and the CATV count number appropriately added by the error data check process. If the TV memory CH number is greater than or equal to the CATV memory CH number (i.e., if YES is determined at step S46), a TV mode is discriminated, the auto tuning is ended, and the minimum memory channel in the TV mode is selected (step S47).

On the other hand, if the CATV memory CH number is greater than the TV memory CH number (i.e., if NO is determined at step S46), a discrimination is made at step S48 whether or not there is a continuous channel among the channels that have been judged to be station present in the CATV channel tuning operation. In the case of a CATV mode, the continuous channel necessarily exists. This discrimination can be made by checking to see whether or not the continuous channel flag is on at step S17. As a result of this determination, if there is a continuous channel (i.e., if YES is determined at step S48), the CATV mode is discriminated, and the minimum memory channel for the CATV mode is selected after the end of the auto tuning (step S50).

On the other hand, as a result of the determination at step S48, if there is no continuous channel (i.e., if NO is determined at step S48), the procedure proceeds to step S49, where a determination is made whether or not there is a continuous channel among the channels which have been judged that the error data is within ±8 steps of the reference error data. By making this determination, it is possible to prevent erroneous channel tuning in the case where a station adjacent to the normal broadcasting channel is falsely tuned owing to spurious reception, for example. As a result of this determination, if the continuous channel exists (i.e., if YES is determined at step S49), the CATV mode is judged, and the minimum memory channel in the CATV mode is selected after the end of auto tuning (step S50). On the other hand, at step S49, if there is no continuous channel, the TV mode is judged, and the minimum memory channel in the TV mode is selected after the end of auto tuning (step S47).

With a television receiving apparatus of this device, since the number of station present channels contained in each channel plan is counted during the automatic discrimination auto-search for the channel plan, and ultimately the channel plan is discriminated through the comparison of the total number of channels by determining whether or not the total number of channels for the first channel plan is smaller than the total number of channels for the second channel plan, whereby it is possible to eliminate the influence of the noise and discriminate a channel mode at higher accuracy.

With a television receiving apparatus of this device, there is additionally provided an error data check process for making a determination whether or not to count up a station that is judged to be present but not counted at that time because the frequency is not within a fixed frequency from the center frequency as being present for the second channel plan to add to the count number. Thereby, even in the case where the second channel plan drifts from the normal frequency, the error data check process is performed, and the station can be counted as a broadcasting station included in the second channel plan, so that a discrimination between the TV mode and the CATV mode can be made more correctly.

Also, with a television receiving apparatus of this device, in the case where the count number for the first channel plan is smaller than the count number for the second channel plan, a determination is further made whether or not there is a continuous channel among the channels which are judged that station is present, and a second channel plan mode is discriminated only if there is the continuous channel. Namely, in the CATV channel plan that is the second channel plan, since the continuous channel necessarily exists, the continuity of channels is discriminated, when the CATV mode is discriminated based on the comparison between the count numbers, so that a discrimination between the TV mode and the CATV mode can be made more correctly.

Further, with the television receiving apparatus of this device, in the case where there is a continuous channel among the channels that have been judged that station is present, a determination is further made whether or not there is a continuous channel among the channels of the error data. If there is the continuity channel, a second channel plan mode is discriminated. Namely, in the case where a station adjacent to the normal broadcasting channel is falsely tuned owing to spurious reception, this discriminating means is additionally provided to enable the normal discrimination of the continuity, because the tuning point is not the same as the normal channel. As a result, a TV mode or a CATV mode can be discriminated more correctly.

Also, with a television receiving apparatus of this device, the first channel plan is for ground wave broadcasting and the second channel plan is for cable television broadcasting, whereby specific examples of applying the channel plan can be provided. 

1. A television receiving apparatus capable of receiving signals of a desired frequency in correspondence to a first channel plan having predetermined channel frequencies assigned, and a second channel plan containing the channel frequencies assigned to said first channel plan and having other channel frequencies assigned in frequency bands not assigned to said first channel plan, said television receiving apparatus comprising: station presence judging means for judging whether a broadcasting station is present or not at a channel frequency assigned to each channel plan by searching all or part of the frequency bands contained in said first channel plan or said second channel plan; first channel number counting means for judging whether or not the channel frequency of the broadcasting station is within a fixed frequency range from a center frequency, if said station presence judging means judges that said broadcasting station is present at a channel frequency assigned to each channel plan, and counting up a number of station present channels in a channel plan to which said broadcasting station belongs, if the channel frequency of the broadcasting station is within the fixed frequency range from the center frequency, for all broadcasting stations which are judged to be present; second channel number counting means for memorizing an error data off a center frequency together with a channel number, if it is determined by said first channel number counting means that the channel frequency of the broadcasting station is outside a fixed frequency range from the center frequency, for all stations that are judged to be present, and making a comparison between error data associated with one channel number and error data associated with another channel number to determine whether or not a difference between the error data associated with one channel number and the error data associated with another channel number is within the fixed frequency range, classifies, into groups, the error data associated with one channel number in accordance with the difference between the error data associated with one channel number and the error data associated with another channel number, and further adds and counts up a number of error data contained within a largest of the groups to a station present channel number of said second channel plan; comparison means for comparing the counted channel number for said first channel plan counted by said first channel number counting means and the counted channel number for said second channel plan counted by said second channel number counting means; first discriminating means for discriminating whether or not there is a continuous channel among the channels which are judged that a station is present, if the count number for said first channel plan is smaller than the count number for said second channel plan, as a result of comparison by said comparing means; second discriminating means for discriminating whether or not there is a continuous channel among the channels of the error data counted by said second channel number counting means, if it is determined that there is no continuous channel, as a result of discrimination by said first discriminating means; and channel plan discriminating means for discriminating whether said television receiving apparatus is a first channel plan mode or a second channel plan mode, based on a result of comparison by said comparison means, a result of discrimination by said first discriminating means, and a result of discrimination by said second discriminating means.
 2. The television receiving apparatus according to claim 1, wherein: said second channel number counting means stores the error data off a center frequency along with its channel number in a memory, if it is determined that the channel frequency of a station that is judged to be present is outside a fixed frequency range from the center frequency, for all stations which are judged that station is present in the second channel plan, wherein the error data associated with one channel number is first stored in said memory and is set as reference error data, the error data associated with another channel number is stored subsequently and is set as comparative error data, and the comparative error data is compared in succession with the reference error data in such a way that if the comparative error data is within the fixed frequency range from the reference error data, the comparative error data is judged to be contained within a same group as the reference error data, and a coincidence number is counted up as being contained within the same group as the reference error data, or if the comparative error data is outside the fixed frequency range from the reference error data, a check is made whether or not a next reference error data has been already registered, and the comparative error data is registered as the next reference error data, when the next reference error data has not been registered, until the comparison for all the error data is completed, in which the coincidence number is counted up for one group, and then the next reference error data registered ahead and the error data stored subsequently as the comparative error data are compared in the same way as previously, the coincident number is counted up for another one group until there is no next reference error data registered, and wherein the coincident number for a largest group among the same group and the another one group is added and counted up to the number of station present channels for said second channel plan.
 3. The television receiving apparatus according to claim 1, wherein said fixed frequency range is approximately ±200 kHz.
 4. The television receiving apparatus according to claim 1, wherein said channel plan discriminating means discriminates a first channel plan mode in the case where the count number for said first channel plan is greater than or equal to the count number for said second channel plan as a result of comparison by said comparing means, or in the case where the count number for said first channel plan is smaller than the count number for said second channel plan, said channel plan discriminating means discriminates a second channel plan mode, if there is a continuous channel among the channels of the error data counted by said second channel number counting means as a result of discrimination by said first discriminating means, or if there is a no continuous channel as a result of discrimination by said first discriminating means, and if there is a continuous channel as a result of discrimination by said second discriminating means, or said channel plan discriminating means discriminates a first channel plan mode, if there is no continuous mode at all.
 5. The television receiving apparatus according to claim 1, wherein said first channel plan is ground wave broadcasting, and said second channel plan is cable television broadcasting.
 6. The television receiving apparatus according to claim 2, wherein said fixed frequency range is approximately ±200 kHz.
 7. The television receiving apparatus according to claim 2, wherein said channel plan discriminating means discriminates a first channel plan mode in the case where the count number for said first channel plan is greater than or equal to the count number for said second channel plan as a result of comparison by said comparing means, or in the case where the count number for said first channel plan is smaller than the count number for said second channel plan, said channel plan discriminating means discriminates a second channel plan mode, if there is a continuous channel among the channels of the error data counted by said second channel number counting means as a result of discrimination by said first discriminating means, or if there is a no continuous channel as a result of discrimination by said first discriminating means, and if there is a continuous channel as a result of discrimination by said second discriminating means, or said channel plan discriminating means discriminates a first channel plan mode, if there is no continuous mode at all.
 8. The television receiving apparatus according to claim 3, wherein said channel plan discriminating means discriminates a first channel plan mode in the case where the count number for said first channel plan is greater than or equal to the count number for said second channel plan as a result of comparison by said comparing means, or in the case where the count number for said first channel plan is smaller than the count number for said second channel plan, said channel plan discriminating means discriminates a second channel plan mode, if there is a continuous channel among the channels of the error data counted by said second channel number counting means as a result of discrimination by said first discriminating means, or if there is a no continuous channel as a result of discrimination by said first discriminating means, and if there is a continuous channel as a result of discrimination by said second discriminating means, or said channel plan discriminating means discriminates a first channel plan mode, if there is no continuous mode at all.
 9. The television receiving apparatus according to claim 2, wherein said first channel plan is ground wave broadcasting, and said second channel plan is cable television broadcasting.
 10. The television receiving apparatus according to claim 3, wherein said first channel plan is ground wave broadcasting, and said second channel plan is cable television broadcasting.
 11. The television receiving apparatus according to claim 4, wherein said first channel plan is ground wave broadcasting, and said second channel plan is cable television broadcasting.
 12. A method for a television receiving apparatus capable of receiving signals of a desired frequency in correspondence to a first channel plan having predetermined channel frequencies assigned, and a second channel plan containing the channel frequencies assigned to said first channel plan and having other channel frequencies assigned in frequency bands not assigned to said first channel plan, the method comprising the acts of: judging whether a broadcasting station is present at a channel frequency assigned to each channel plan by searching all or part of the frequency bands contained in said first channel plan or said second channel plan; judging whether the channel frequency of the broadcasting station is within a fixed frequency range from a center frequency, if it is judged that said broadcasting station is present at a channel frequency assigned to each channel plan; counting up a number of station present channels in a channel plan to which said broadcasting station belongs, if the channel frequency of the broadcasting station is within the fixed frequency range from the center frequency, for all broadcasting stations which are judged to be present; memorizing an error data off a center frequency together with a channel number, if it is determined that the channel frequency of the broadcasting station is outside a fixed frequency range from the center frequency, for all stations that are judged to be present; comparing error data associated with one channel number and error data associated with another channel number to determine whether or not a difference between the error data associated with one channel number and the error data associated with another channel number is within the fixed frequency range; classifying, into groups, the error data associated with one channel number in accordance with the difference between the error data associated with one channel number and the error data associated with another channel number; adding and counting up a number of error data contained within a largest of the groups to a station present channel number of said second channel plan; comparing the counted channel number for said first channel plan and the counted channel number for said second channel plan; discriminating whether or not there is a continuous channel among the channels which are judged that a station is present, if the count number for said first channel plan is smaller than the count number for said second channel plan, as a result of the comparison of the counted channel number for said first and second channel plans; discriminating whether there is a continuous channel among the channels of the counted error data, if it is determined that there is no continuous channel, as a result of the discrimination of whether there is a continuous channel; and discriminating whether said television receiving apparatus is a first channel plan mode or a second channel plan mode, based on a result of the comparison of the counted channel number for said first and second channel plans, the discrimination whether or not there is a continuous channel among the channels which are judged that a station is present, and the discrimination of whether or not there is a continuous channel among the channels of error data.
 13. The method of claim 12, the method further comprising the acts of: storing the error data off a center frequency along with its channel number in a memory, if it is determined that the channel frequency of a station that is judged to be present is outside a fixed frequency range from the center frequency, for all stations which are judged that station is present in the second channel plan, wherein the error data associated with one channel number is first stored in a memory and is set as reference error data, the error data associated with another channel number is stored subsequently and is set as comparative error data, and the comparative error data is compared in succession with the reference error data in such a way that if the comparative error data is within the fixed frequency range from the reference error data, the comparative error data is judged to be contained within a same group as the reference error data, and a coincidence number is counted up as being contained within the same group as the reference error data, or if the comparative error data is outside the fixed frequency range from the reference error data, a check is made whether or not a next reference error data has been already registered, and the comparative error data is registered as the next reference error data, when the next reference error data has not been registered, until the comparison for all the error data is completed, in which the coincidence number is counted up for one group, and then the next reference error data registered ahead and the error data stored subsequently as the comparative error data are compared in the same way as previously, the coincident number is counted up for another one group until there is no next reference error data registered, and wherein the coincident number for a largest group among the same group and the another one group is added and counted up to the number of station present channels for said second channel plan.
 14. The method of claim 12, wherein said fixed frequency range is approximately ±200 kHz.
 15. The method of claim 12, the method further comprising the acts of: discriminating a first channel plan mode when the count number for said first channel plan is greater than or equal to the count number for said second channel plan as a result of comparison of the counted channel number for said first frequency plan, or when the count number for said first channel plan is smaller than the count number for said second channel plan, discriminating a second channel plan mode, if there is a continuous channel among the counted channels of the error data as a result of the discrimination of whether or not there is a continuous channel among the channels which are judged that a station is present, or if there is a no continuous channel as a result of the discrimination of whether or not there is a continuous channel among the channels which are judged that a station is present, and if there is a continuous channel as a result of discrimination of whether or not there is a continuous channel among the channels of error data, or discriminating a first channel plan mode if there is no continuous mode at all.
 16. The method of claim 12, wherein said first channel plan is ground wave broadcasting, and said second channel plan is cable television broadcasting. 